CREATE TYPE [dbo].[_fechahora] FROM datetime NULL
GO
GRANT REFERENCES ON TYPE:: [dbo].[_fechahora] TO [public]
GO
EXEC sp_bindefault N'[dbo].[date]', N'[dbo].[_fechahora]'
GO
